package ar.org.cfired.creditos.reportes;

import org.jbpm.api.Configuration;
import org.jbpm.api.ExecutionService;
import org.jbpm.api.ProcessInstance;

public class GeneraDocumentosReportes {
	public static void main(String[] args) {

        ExecutionService executionService = new Configuration().buildProcessEngine().getExecutionService();
        ProcessInstance processInstance = null;
        processInstance = executionService.startProcessInstanceByKey("reportes");

        System.out.println(processInstance.getState() + "\nListo!!");
    }
}
